import { IsNotEmpty, IsOptional } from 'class-validator';

import RecordBaseDto from './record.base.dto';
// 创建 DTO
export default class UpdateRecordDto extends RecordBaseDto {
  @IsNotEmpty()
  _id: string;

  @IsOptional()
  motionId: string;
}
